<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechatapplet_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechatapplet_id" data-rule="required" data-source="wechatapplet/index" class="form-control" name="row[wechatapplet_id]" type="text" value="{$row.wechatapplet_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appid" data-rule="required" class="form-control" name="row[appid]" type="text" value="{$row.appid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Alias')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-alias" data-rule="required" class="form-control" name="row[alias]" type="text" value="{$row.alias|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Env')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-env" data-rule="required" class="form-control" name="row[env]" type="text" value="{$row.env|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Package_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-package_name" data-rule="required" class="form-control" name="row[package_name]" type="text" value="{$row.package_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Codesecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-codesecret" data-rule="required" class="form-control" name="row[codesecret]" type="text" value="{$row.codesecret|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info_list')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info_list" data-rule="required" class="form-control" name="row[info_list]" type="text" value="{$row.info_list|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Config')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-config" data-rule="required" class="form-control " rows="5" name="row[config]" cols="50">{$row.config|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Functions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-functions" data-rule="required" class="form-control " rows="5" name="row[functions]" cols="50">{$row.functions|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Collections')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-collections" data-rule="required" class="form-control " rows="5" name="row[collections]" cols="50">{$row.collections|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
